import {ajax} from 'nc-lightapp-front';

export default {
    getTableData: (opt) => {
        return new Promise((resolve, reject) => {
            ajax({
                url: `/nccloud/erm/ersetting/ShareRuleDataQueryAction.do`,
                data: opt.data,
                success: (data) => {
                    resolve(data)
                }
            })
        })
    }
}